﻿using Cl.Entity.BaseEntity;
using Cl.Entity.DataBaseEntity.Goods;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cl.Entity.DataBaseEntity.Orders
{
    [SugarTable("Order_GoodsOrderRelatedGoods")]
    public class GoodsOrderRelatedGoods : EntityBaseComplete
    {
        public int OrderId { get; set; }

        public int GoodsId { get; set; }



        [Navigate(NavigateType.OneToOne, nameof(OrderId))]
        public GoodsOrder GoodsOrderData { get; set; }


        [Navigate(NavigateType.OneToOne, nameof(GoodsId))]
        public BaseGoods BaseGoodsData { get; set; }



    }
}
